﻿using AnesSystem.Services;
using AnesSystem.Udp;
using AnesSystem.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;

namespace AnesSystem.Controls
{
    /// <summary>
    /// 自定义基础绑定控件针对PatientLink 
    /// </summary>
    public class BindCtrl : BaseCustomCtrl
    {

        #region Variables

        #endregion

        #region Constructor

        public BindCtrl()
        {
            this.GotFocus += BaseBindCtrl_GotFocus;
            SaveModel = 3;
        }

        #endregion

        #region Properties
       
        #endregion

        #region 依赖属性

        #endregion

        #region Event

        #endregion

        #region Private Methods

        #endregion

        #region Public/Protected Methods

        #endregion

        #region EventHandlers

        private void BaseBindCtrl_GotFocus(object sender, RoutedEventArgs e)
        {
            DataManager.Instance.IsNotNeedSaveData = false;
        }

        #endregion

    }
}
